package Project;

import java.io.*;
public class Jv_4_4 {
	 public static void main(String[] args)   
	   throws java.io.IOException { 
	   int jumsu;
	   char hakjum;
	   String iput;
	   System.out.println("***** result *****");
	   System.out.print("Input jumsu: ");
	   InputStreamReader kkk = new InputStreamReader(System.in);
	   BufferedReader bbb = new BufferedReader(kkk);
	   iput = bbb.readLine();
	   jumsu = Integer.parseInt(iput);
	   if (jumsu >= 90)
	       hakjum = 'A';
	   else if (jumsu >= 80)
	       hakjum = 'B';
	   else if (jumsu >= 70)
	       hakjum = 'C';
	   else if (jumsu >= 60)
	       hakjum = 'D';
	   else
	       hakjum = 'F';
	   System.out.println("Hakjum: " + hakjum);

}
}